package com.company.utils;

import com.company.service.StatrService;
import com.company.service.impl.StatrServiceImpl;

public class ServiceFactory {
    //返回业务接口的实现类对象
    public StatrService getBean(){
        return new StatrServiceImpl();
    }

}
